import request from "@/utils/request";

// 查询列表
export const getMesWorkShop = (params) => {
  return request({
    url: "/mes/workshop/getMesWorkShop",
    method: "get",
    params,
  });
};
// 编辑
export const editMesWorkShop = (data) => {
  return request({
    url: "/mes/workshop/editMesWorkShop",
    method: "post",
    data,
  });
};

// 新增
export const addMesWorkShop = (data) => {
  return request({
    url: "/mes/workshop/addMesWorkShop",
    method: "post",
    data,
  });
};
// 删除
export const delMesWorkShop = (data) => {
  return request({
    url: "/mes/workshop/delMesWorkShop",
    method: "post",
    data,
  });
};

// 导出
export const exportMesWorkShop = (data) => {
  return request({
    url: "/mes/workshop/exportMesWorkShop",
    method: "post",
    data,
  });
};
